<%@ page contentType="text/html" %>
<%@ page session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
<title>Save book</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>

<div id="content">
	<form action="execute.action" method="post">
	<table>
		<tr>
			<td>Book Details</td><td><input type="text" name="mode" value=${viewMode}></td>
		</tr>
		<tr>
			<td colpan="2"><hr></td>
		</tr>
		<tr>
			<td><b>Title</b></td>
			<td><input type="text" name="title" value=${dto.title}></td>
		</tr>
		<tr>
			<td><b>Review</b></td>
			<td><input type="text" name="review" value=${dto.review}></td>
		</tr>
		<tr>
			<td><b>Id</B></td>
			<td><input type="text" name="id" value=${dto.id}></td>
		</tr>
		<tr>
			<td>
				<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}">
				<input type="submit" name="_eventId_save" class="button" value="save">
				<input type="submit" name="_eventId_delete" class="button" value="delete">
			</td>
		</tr>
	</table>
	</form>
</DIV>
</body>
</html>